package com.weifangfirecontrolformal.weifangfirecontrolformal.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.weifangfirecontrolformal.weifangfirecontrolformal.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("userpermission")//用户权限表（此表为单位用户所用）
public class Userpermission extends BasisEntity {

    private String userId;//用户id
    private String permissionId;//权限id
    private Date createtime;//创建时间

    public String getUserId() {
        return this.getString("userId");
    }

    public void setUserId(String userId) {
        this.put("userId",userId);
    }

    public String getPermissionId() {
        return this.getString("permissionId");
    }

    public void setPermissionId(String permissionId) {
        this.put("permissionId",permissionId);
    }

    public Date getCreatetime() {
        return this.getDate("createtime");
    }

    public void setCreatetime(Date createtime) {
        this.put("createtime",createtime);
    }
}
